import { get } from '../utils/request';
import { ApiResponse } from '../types';

export interface PublicStats {
  totalUsers: number;
  totalTorrents: number;
  todayStats?: any;
}

/**
 * 获取公共统计信息
 */
export function getPublicStats() {
  return get<ApiResponse<PublicStats>>('/public/stats');
} 